package com.wsmhz.security.core.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * create by tangbj on 2018/3/26
 * 统一集中配置项
 */
@ConfigurationProperties(prefix = "wsmhz.security")
public class SecurityProperties {

    //PC端配置项
    private BrowserProperties browser = new BrowserProperties();
    //验证配置项
    private ValidateCodeProperties code = new ValidateCodeProperties();
    //社交配置
    private SocialProperties social= new SocialProperties();

    public BrowserProperties getBrowser() {
        return browser;
    }

    public void setBrowser(BrowserProperties browser) {
        this.browser = browser;
    }

    public ValidateCodeProperties getCode() {
        return code;
    }

    public void setCode(ValidateCodeProperties code) {
        this.code = code;
    }

    public SocialProperties getSocial() {
        return social;
    }

    public void setSocial(SocialProperties social) {
        this.social = social;
    }
}
